<%@ page pageEncoding="utf-8"%>
<table id="usertt" data-options="fit:true"></table>
<div id="userdtl" ></div> 
<script type="text/javascript">
var userrow=null;
	$('#usertt').datagrid({    
	    url:'${pageContext.request.contextPath }/user/queryUser',    
	    cache:false, 
	    pagination:true,
	    onClickRow:function(row,index){
	    	userrow = row;
	    },
	    fitColumns:true,
	    columns:[[    
	    	{title:'ID',field:'uid',width:1}, 
	        {title:'姓名',field:'name',width:1},    
	        {field:'city',title:'城市',width:1,align:'right'},    
	        {field:'sex',title:'性别',width:1},    
	        {field:'reg_date',title:'注册时间',width:1},    
	        {field:'phone',title:'电话',width:1}, 
	        {title:'状态',field:'status',width:1},    
	    ]],
	});  
	
</script>